home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 November: Tool Chest / Dev.CD Nov 98 TC.toast / What's New? / Development Kits / TEC 1.4 / SampleCode / DropEncoder / DropEncoder ReadMe < prev    next >
Encoding:
Text File  |  1998-09-25  |  617 b   |  20 lines  |  [TEXT/ttxt]

  1. DropEncoder Read Me
  2.  
  3. DropEncoder reads a text file, attempts to determine the encoding, and then converts it to the equivalent MacOS encoding. In this sample code, the locale of verJapan and encoding of kTextEncodingMacJapanese are assumed.
  4.  
  5. Two sample files are provided:
  6.  
  7. //www.yahoo.co.jp/     ---  It's encoding is EUC_JP
  8. w_index.html               ---  It's encoding is Shift JIS
  9.  
  10. Both files will get converted to MacOS Japanese.
  11.  
  12.  
  13. To compile the application you will require:
  14.  
  15. TEC 1.3  SDK or newer
  16. CodeWarrior Pro 2.1
  17.  
  18. Modifications to the project required:
  19.  
  20. Add a path to the Stub Libraries folder in the SDK.